package cn.geekyspace.scanhive.service;

import cn.geekyspace.scanhive.pojo.entity.CleaningData;
import cn.geekyspace.scanhive.pojo.query.QueryData;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

public interface CleaningDataService extends IService<CleaningData> {

    // 保存二维码数据
    CleaningData saveQrCodeData(String qrCode);

    // 接收PLC数据
    void receivePlcDataAndUpdate(CleaningData data);

    // 分页查询历史记录
    Page<CleaningData> cleaningDataPage(QueryData query);

}

